package com.qf.j2112.service.impl;

import com.qf.j2112.mapper.SysRoleMapper;
import com.qf.j2112.po.SysRole;
import com.qf.j2112.service.SysRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Resource
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> findAll() {
        return sysRoleMapper.findAll();
    }
}
